﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="check_useradmin.aspx.cs" Inherits="SQT.tracnghiem.Ajax.ASP.Staff.check_useradmin" %>

<%@ Import Namespace="DataAccess" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<body>
    <%
        var username = Request.QueryString["username"];
        var check = new TblManagerController().FetchAll().Where(x => x.ManagerName.ToLower() == username.ToLower()).ToList();
        if (check.Count != 0)
        {%>1<%}else{%>0<%}%>
</body>
</html>
